<?php
/**
 * ExtBasicForm class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtBasicForm extends ExtBasicFormBase
{
    /**
     * Gets the value of ExtJS baseParams property
     * @return Object 
     */
    public function getBaseParams()
    {
    	return $this->getConfig("baseparams");
    }

    /**
     * Sets the value of ExtJS baseParams property
     * @param Object $value 
     */
    public function setBaseParams($value)
    {
    	$this->setConfig("baseparams",$value);
    }

    /**
     * Gets the value of ExtJS fileUpload property
     * @return Boolean 
     */
    public function getFileUpload()
    {
    	return $this->getConfig("fileupload");
    }

    /**
     * Sets the value of ExtJS fileUpload property
     * @param Boolean $value 
     */
    public function setFileUpload($value)
    {
    	$this->setConfig("fileupload",$value);
    }

    /**
     * Gets the value of ExtJS method property
     * @return String 
     */
    public function getMethod()
    {
    	return $this->getConfig("method");
    }

    /**
     * Sets the value of ExtJS method property
     * @param String $value 
     */
    public function setMethod($value)
    {
    	$this->setConfig("method",$value);
    }

    /**
     * Gets the value of ExtJS paramOrder property
     * @return Array/String 
     */
    public function getParamOrder()
    {
    	return $this->getConfig("paramorder");
    }

    /**
     * Sets the value of ExtJS paramOrder property
     * @param Array/String $value 
     */
    public function setParamOrder($value)
    {
    	$this->setConfig("paramorder",$value);
    }

    /**
     * Gets the value of ExtJS paramsAsHash property
     * @return Boolean 
     */
    public function getParamsAsHash()
    {
    	return $this->getConfig("paramsashash");
    }

    /**
     * Sets the value of ExtJS paramsAsHash property
     * @param Boolean $value 
     */
    public function setParamsAsHash($value)
    {
    	$this->setConfig("paramsashash",$value);
    }

    /**
     * Gets the value of ExtJS standardSubmit property
     * @return Boolean 
     */
    public function getStandardSubmit()
    {
    	return $this->getConfig("standardsubmit");
    }

    /**
     * Sets the value of ExtJS standardSubmit property
     * @param Boolean $value 
     */
    public function setStandardSubmit($value)
    {
    	$this->setConfig("standardsubmit",$value);
    }

    /**
     * Gets the value of ExtJS timeout property
     * @return Number 
     */
    public function getTimeout()
    {
    	return $this->getConfig("timeout");
    }

    /**
     * Sets the value of ExtJS timeout property
     * @param Number $value 
     */
    public function setTimeout($value)
    {
    	$this->setConfig("timeout",$value);
    }

    /**
     * Gets the value of ExtJS trackResetOnLoad property
     * @return Boolean 
     */
    public function getTrackResetOnLoad()
    {
    	return $this->getConfig("trackresetonload");
    }

    /**
     * Sets the value of ExtJS trackResetOnLoad property
     * @param Boolean $value 
     */
    public function setTrackResetOnLoad($value)
    {
    	$this->setConfig("trackresetonload",$value);
    }

    /**
     * Gets the value of ExtJS url property
     * @return String 
     */
    public function getUrl()
    {
    	return $this->getConfig("url");
    }

    /**
     * Sets the value of ExtJS url property
     * @param String $value 
     */
    public function setUrl($value)
    {
    	$this->setConfig("url",$value);
    }

    /**
     * Gets the value of ExtJS waitTitle property
     * @return String 
     */
    public function getWaitTitle()
    {
    	return $this->getConfig("waittitle");
    }

    /**
     * Sets the value of ExtJS waitTitle property
     * @param String $value 
     */
    public function setWaitTitle($value)
    {
    	$this->setConfig("waittitle",$value);
    }

    /**
     * Gets the value of ExtJS controllerName property
     * @return String 
     */
    public function getControllerName()
    {
    	return $this->getConfig("controllername");
    }

    /**
     * Sets the value of ExtJS controllerName property
     * @param String $value 
     */
    public function setControllerName($value)
    {
    	$this->setConfig("controllername",$value);
    }

    /**
     * Gets the value of ExtJS waitMsgTarget property
     * @return String 
     */
    public function getWaitMsgTarget()
    {
    	return $this->getConfig("waitmsgtarget");
    }

    /**
     * Sets the value of ExtJS waitMsgTarget property
     * @param String $value 
     */
    public function setWaitMsgTarget($value)
    {
    	$this->setConfig("waitmsgtarget",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'baseparams' => 'baseParams',
            'fileupload' => 'fileUpload',
            'paramorder' => 'paramOrder',
            'paramsashash' => 'paramsAsHash',
            'standardsubmit' => 'standardSubmit',
            'trackresetonload' => 'trackResetOnLoad',
            'waittitle' => 'waitTitle',
            'controllername' => 'controllerName',
            'waitmsgtarget' => 'waitMsgTarget'
        ));

        $this->eventtable = array_merge($this->eventtable,array(
            'actioncomplete' => array('sender','action'),
            'actionfailed' => array('sender','action'),
            'beforeaction' => array('sender','action')
        ));


        $this->proptags = array_merge($this->proptags,array(
            'baseparameters' => true
        ));
        $this->setXType(null);
        $this->setXClass('Ext.form.BasicForm');
    }    
}
?>